package edu.upf.grupoe.p2ppicture.SearchEngine.implementations;

import edu.upf.grupoe.p2ppicture.SearchEngine.interfaces.UserContent;
import java.io.Serializable;

public class UserContentImpl implements UserContent, Serializable {

    private String URL = "";
    private String ID = "";
    /**
     * It returns the content URL
     * @return String
     */
    public String getURL() {
        return this.URL;
    }
    /**
     * It returns the User Content ID
     * @return String
     */
    public String getID() {
        return this.ID;
    }
    /**
     * It sets a Content URL location
     * @param URL String
     */
    public void setURL(String URL) {
        this.URL = URL;
    }
    /**
     * It sets a UserID Content
     * @param ID String
     */
    public void setID(String ID) {
        this.ID = ID;
    }
    /**
     * UserContentImpl constructor
     * @param ID String
     * @param URL String
     */
    public UserContentImpl(String ID, String URL){
        this.URL = URL;
        this.ID = ID;
    }
}
